﻿namespace Shop.Model.View.Admin.Order;

public class GoodsListVo
{
    /// <summary>
    /// 商品Id
    /// </summary>
    public long GId { get; set; }
    
    /// <summary>
    /// 商品名称
    /// </summary>
    public string GName { get; set; }
    
    /// <summary>
    /// 商品规格（json）
    /// </summary>
    public string Spec { get; set; }

    /// <summary>
    /// 商品规格
    /// </summary>
    public List<GoodSize> GoodSize { get; set; }
}

/// <summary>
/// 商品规格
/// </summary>
public class GoodSize
{
    /// <summary>
    /// 规格Id
    /// </summary>
    public long GSId { get; set; }
    
    /// <summary>
    /// 规格名
    /// </summary>
    public string GSName { get; set; }
}